package com.site.dto.backend.system;

import java.util.HashSet;
import java.util.Set;

import com.site.util.base.businessbean.BaseBusinessBean;


/**
 * 角色VO
 * @author lee 2012-12-04
 *
 */
public class RoleBizBean extends BaseBusinessBean{
	private static final long serialVersionUID = 1L;
	/*
	 * 角色id
	 */
	private Long id;
	/*
	 * 角色名称
	 */
	private String roleName;
	/*
	 * 备注
	 */
	private String description;
	/*
	 * 用户
	 */
	private Set<UsersBizBean> userSet = new HashSet<UsersBizBean>(); 
	/*
	 * 资源
	 */
	private Set<ResourseBizBean> resourseBizBeanSet;
	/*
	 * 权限
	 */
	private Set<AuthorityBizBean> authoritySet;
	/*
	 * 用户ids
	 * 用途：增加角色用户
	 */
	private String userIds;
	/*
	 * 权限ids
	 * 用途：增加角色权限
	 */
	private String authIds;
	/*
	 * 资源ids
	 */
	private String resourseIds;
	
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Set<UsersBizBean> getUserSet() {
		return userSet;
	}
	public void setUserSet(Set<UsersBizBean> userSet) {
		this.userSet = userSet;
	}

	public Set<ResourseBizBean> getResourseBizBeanSet() {
		return resourseBizBeanSet;
	}

	public void setResourseBizBeanSet(Set<ResourseBizBean> resourseBizBeanSet) {
		this.resourseBizBeanSet = resourseBizBeanSet;
	}

	public void setAuthoritySet(Set<AuthorityBizBean> authoritySet) {
		this.authoritySet = authoritySet;
	}

	public Set<AuthorityBizBean> getAuthoritySet() {
		return authoritySet;
	}

	public void setUserIds(String userIds) {
		this.userIds = userIds;
	}

	public String getUserIds() {
		return userIds;
	}

	public String getAuthIds() {
		return authIds;
	}
	
	public void setAuthIds(String authIds) {
		this.authIds = authIds;
	}
	
	public void setResourseIds(String resourseIds) {
		this.resourseIds = resourseIds;
	}

	public String getResourseIds() {
		return resourseIds;
	}
	
}
